package com.example.ordersys.mapper;

import com.example.ordersys.model.OrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderInfoMapper {

    int add(OrderInfo orderInfo);

    List<OrderInfo> getList(int uid);

    List<OrderInfo> getAllList();

    int upStatus(int id, int status);
}
